<template>

    <div>
        <!-- {{ get_username(1) }} -->
        <div class="h-panel-body"  v-for="(comm, index) in c_list" :key="index">
			<!-- 分页展示 -->
			<p>评论序号:  &nbsp;&nbsp;{{ index+1 }}  &nbsp;&nbsp;评论用户:{{ get_username(comm.uid) }}  &nbsp;&nbsp;评论信息:{{ comm.content }}  &nbsp;&nbsp;评论商品id:{{ comm.gid }}</p>
		</div>
    </div>   

</template>
    
<script>
import {config,formatXml} from '../config.js'

    
export default {
    data () {
    return {
    
        }
    },

    //接收参数
    props:['c_list','myuser'],

    mounted:function(){

    },
    methods:{
        get_username:function(uid){
            return this.myuser[uid];
        }

    }

}
        
        
</script>
         
<style>
        
        
</style>


